package org.activiti.solon.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.activiti.solon.entity.*;

import java.util.List;

public interface FlowRunService {
    List<AuditData> startTask(AuditTask task);

    IPage<ActExtAuditVO> selectTodoPage(PageExt<ActExtAuditVO> queryInfo);

    List<AuditData> skipTask(AuditTask task);

    void doReject(AuditTask task, AuditData data, String flowId);

    void doPass(AuditTask task, AuditData data, String flowId);

    void doTran(AuditTask task, AuditData data, String flowId);

    void doRevoke(AuditTask task, AuditData data, String flowId);

    void doDone(AuditTask task, AuditData data, String flowId);

    List<ActExtFlowLogVO> selectOpinionList(ActExtAuditVO queryInfo);
}
